<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/ClipperUtils.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ClipperUtils.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_clipper_utils_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef slic3r_ClipperUtils_hpp_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define slic3r_ClipperUtils_hpp_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="libslic3r_8h.html">libslic3r.h</a>&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;clipper.hpp&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_ex_polygon_8hpp.html">ExPolygon.hpp</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_polygon_8hpp.html">Polygon.hpp</a>&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_surface_8hpp.html">Surface.hpp</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// import these wherever we&#39;re included</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">using</span> ClipperLib::jtMiter;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">using</span> ClipperLib::jtRound;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">using</span> ClipperLib::jtSquare;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_slic3r.html">Slic3r</a> {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// Factor to convert from coord_t (which is int32) to an int64 type used by the Clipper library.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">//FIXME Vojtech: Better to use a power of 2 coefficient and to use bit shifts for scaling.</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// How about 2^17=131072?</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">// By the way, is the scalling needed at all? Cura runs all the computation with a fixed point precision of 1um, while Slic3r scales to 1nm,</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// further scaling by 10e5 brings us to </span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#afb48331acdbb422c06ea6e973a744363">   22</a></span>&#160;constexpr <span class="keywordtype">float</span> <a class="code" href="namespace_slic3r.html#afb48331acdbb422c06ea6e973a744363">CLIPPER_OFFSET_SCALE</a> = 100000.0;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a2555e0e40cc44ba13c924616eb03197b">   23</a></span>&#160;constexpr <span class="keyword">auto</span> <a class="code" href="namespace_slic3r.html#a2555e0e40cc44ba13c924616eb03197b">MAX_COORD</a> = ClipperLib::hiRange / <a class="code" href="namespace_slic3r.html#afb48331acdbb422c06ea6e973a744363">CLIPPER_OFFSET_SCALE</a>;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//-----------------------------------------------------------</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// legacy code from Clipper documentation</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespace_slic3r.html#a32bb98b7e6f413723667252eb1d2abda">AddOuterPolyNodeToExPolygons</a>(ClipperLib::PolyNode&amp; polynode, <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a>&amp; expolygons);</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespace_slic3r.html#ac991bb8d1a85060f942c9ed22275066c">PolyTreeToExPolygons</a>(ClipperLib::PolyTree&amp; polytree, <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a>&amp; expolygons);</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">//-----------------------------------------------------------</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;ClipperLib::Path <a class="code" href="namespace_slic3r.html#ab23366eec4dd866dacebf9c87b12b805">Slic3rMultiPoint_to_ClipperPath</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_multi_point.html">Slic3r::MultiPoint</a> &amp;input);</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;ClipperLib::Paths <a class="code" href="namespace_slic3r.html#a4f1dbbb61f891800f4b4e0772521c5c9">Slic3rMultiPoints_to_ClipperPaths</a>(<span class="keyword">const</span> T &amp;input);</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;T <a class="code" href="namespace_slic3r.html#ae32f3e2a9f448d6c8243ab4d3249db23">ClipperPath_to_Slic3rMultiPoint</a>(<span class="keyword">const</span> ClipperLib::Path &amp;input);</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;T <a class="code" href="namespace_slic3r.html#aea388b90b5881f29d1d1f0f256c41c00">ClipperPaths_to_Slic3rMultiPoints</a>(<span class="keyword">const</span> ClipperLib::Paths &amp;input);</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> <a class="code" href="namespace_slic3r.html#a348d9e9e7e5d2fb316071499071e353d">ClipperPaths_to_Slic3rExPolygons</a>(<span class="keyword">const</span> ClipperLib::Paths &amp;input);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespace_slic3r.html#a67eca0cac89f3ebc87b25c68c3f691ee">scaleClipperPolygons</a>(ClipperLib::Paths &amp;polygons, <span class="keyword">const</span> <span class="keywordtype">double</span> scale);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">// offset Polygons</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;ClipperLib::Paths <a class="code" href="namespace_slic3r.html#af2891484ab2b1efcaa12848d31d0ae80">_offset</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;polygons, <span class="keyword">const</span> <span class="keywordtype">float</span> delta,</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtMiter, </div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> <a class="code" href="namespace_slic3r.html#add47402365cb0ce998aa2e3740986978">offset</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;polygons, <span class="keyword">const</span> <span class="keywordtype">float</span> delta,</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtMiter, </div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">// offset Polylines</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;ClipperLib::Paths <a class="code" href="namespace_slic3r.html#af2891484ab2b1efcaa12848d31d0ae80">_offset</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> &amp;polylines, <span class="keyword">const</span> <span class="keywordtype">float</span> delta,</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtSquare, </div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> <a class="code" href="namespace_slic3r.html#add47402365cb0ce998aa2e3740986978">offset</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> &amp;polylines, <span class="keyword">const</span> <span class="keywordtype">float</span> delta,</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtSquare, </div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<a class="code" href="namespace_slic3r.html#a974dd7a4e3e39746ab1e4197e1aa54b0">Slic3r::Surfaces</a> <a class="code" href="namespace_slic3r.html#add47402365cb0ce998aa2e3740986978">offset</a>(<span class="keyword">const</span> <a class="code" href="class_slic3r_1_1_surface.html">Slic3r::Surface</a> &amp;surface, <span class="keyword">const</span> <span class="keywordtype">float</span> delta,</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtSquare, </div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> <a class="code" href="namespace_slic3r.html#a7db7bc90035cee27b8f882754fc943b9">offset_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;polygons, <span class="keyword">const</span> <span class="keywordtype">float</span> delta,</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtMiter, </div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> <a class="code" href="namespace_slic3r.html#a7db7bc90035cee27b8f882754fc943b9">offset_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;expolygons, <span class="keyword">const</span> <span class="keywordtype">float</span> delta,</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtMiter, </div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;ClipperLib::Paths <a class="code" href="namespace_slic3r.html#a7c2d78f5a1d39d1140ec43bdc09ca35e">_offset2</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;polygons, <span class="keyword">const</span> <span class="keywordtype">float</span> delta1,</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">float</span> delta2, <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtMiter, </div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> <a class="code" href="namespace_slic3r.html#a8741f112719a7273fa795935d97159eb">offset2</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;polygons, <span class="keyword">const</span> <span class="keywordtype">float</span> delta1,</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">float</span> delta2, <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtMiter, </div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> <a class="code" href="namespace_slic3r.html#a7e00ded552bfcfd0d49be04cb6aab7fa">offset2_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;polygons, <span class="keyword">const</span> <span class="keywordtype">float</span> delta1,</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">float</span> delta2, <span class="keywordtype">double</span> scale = CLIPPER_OFFSET_SCALE, ClipperLib::JoinType joinType = ClipperLib::jtMiter, </div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">double</span> miterLimit = 3);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;T <a class="code" href="namespace_slic3r.html#a70e05e945d0402660e31712b4b97330f">_clipper_do</a>(ClipperLib::ClipType clipType, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, </div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keyword">const</span> ClipperLib::PolyFillType fillType, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;ClipperLib::PolyTree <a class="code" href="namespace_slic3r.html#a70e05e945d0402660e31712b4b97330f">_clipper_do</a>(ClipperLib::ClipType clipType, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> &amp;subject, </div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keyword">const</span> ClipperLib::PolyFillType fillType, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> <a class="code" href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">_clipper</a>(ClipperLib::ClipType clipType,</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ClipType clipType,</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> <a class="code" href="namespace_slic3r.html#ac64eb8ed00f9661fb937bc2aa9ca61ca">_clipper_pl</a>(ClipperLib::ClipType clipType,</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> <a class="code" href="namespace_slic3r.html#ac64eb8ed00f9661fb937bc2aa9ca61ca">_clipper_pl</a>(ClipperLib::ClipType clipType,</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<a class="code" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a> <a class="code" href="namespace_slic3r.html#ac2fec21ddc392aaeefad2e50bf6881f9">_clipper_ln</a>(ClipperLib::ClipType clipType,</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment">// diff</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a23a6e38464cb9efac317c022358d00a8">   98</a></span>&#160;<a class="code" href="namespace_slic3r.html#a23a6e38464cb9efac317c022358d00a8">diff</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;{</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">_clipper</a>(ClipperLib::ctDifference, subject, clip, safety_offset_);</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;}</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a94e248a5e6cc2dfcfca8778469da154d">  104</a></span>&#160;<a class="code" href="namespace_slic3r.html#a94e248a5e6cc2dfcfca8778469da154d">diff_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;{</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ctDifference, subject, clip, safety_offset_);</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;}</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#ac973dbf6dea448adaff6fd3cc1afa64b">  110</a></span>&#160;<a class="code" href="namespace_slic3r.html#a94e248a5e6cc2dfcfca8778469da154d">diff_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ctDifference, <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(subject), <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(clip), safety_offset_);</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a260dc810a4aab613fa65970c37906c69">  116</a></span>&#160;<a class="code" href="namespace_slic3r.html#a23a6e38464cb9efac317c022358d00a8">diff</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;{</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">_clipper</a>(ClipperLib::ctDifference, <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(subject), <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(clip), safety_offset_);</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;}</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a></div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a34652ea8643ecf84f5711a6bbcd9b8b5">  122</a></span>&#160;<a class="code" href="namespace_slic3r.html#a34652ea8643ecf84f5711a6bbcd9b8b5">diff_pl</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;{</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#ac64eb8ed00f9661fb937bc2aa9ca61ca">_clipper_pl</a>(ClipperLib::ctDifference, subject, clip, safety_offset_);</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;}</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a></div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#ab54780ca2e9b7a85483979150cbd82de">  128</a></span>&#160;<a class="code" href="namespace_slic3r.html#a34652ea8643ecf84f5711a6bbcd9b8b5">diff_pl</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;{</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#ac64eb8ed00f9661fb937bc2aa9ca61ca">_clipper_pl</a>(ClipperLib::ctDifference, subject, clip, safety_offset_);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;}</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#afa4e6aac1c947d70a7350e9323ebb60e">  134</a></span>&#160;<a class="code" href="namespace_slic3r.html#afa4e6aac1c947d70a7350e9323ebb60e">diff_ln</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;{</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#ac2fec21ddc392aaeefad2e50bf6881f9">_clipper_ln</a>(ClipperLib::ctDifference, subject, clip, safety_offset_);</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;}</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">// intersection</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a0596cb4d1dd2155e970fd890b71733b9">  141</a></span>&#160;<a class="code" href="namespace_slic3r.html#a0596cb4d1dd2155e970fd890b71733b9">intersection</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">_clipper</a>(ClipperLib::ctIntersection, subject, clip, safety_offset_);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;}</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#ae150f6292c2ee872218641d3f951d55e">  147</a></span>&#160;<a class="code" href="namespace_slic3r.html#ae150f6292c2ee872218641d3f951d55e">intersection_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;{</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ctIntersection, subject, clip, safety_offset_);</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;}</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#aa24486442d58341ddbc0edc5c921aa1c">  153</a></span>&#160;<a class="code" href="namespace_slic3r.html#ae150f6292c2ee872218641d3f951d55e">intersection_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;{</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ctIntersection, <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(subject), <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(clip), safety_offset_);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;}</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a6dbb3746e20833901babc88a07475365">  159</a></span>&#160;<a class="code" href="namespace_slic3r.html#a0596cb4d1dd2155e970fd890b71733b9">intersection</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;{</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">_clipper</a>(ClipperLib::ctIntersection, <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(subject), <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(clip), safety_offset_);</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;}</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a></div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#ad3bb28357bd00277f7fbc5964083d7fe">  165</a></span>&#160;<a class="code" href="namespace_slic3r.html#ad3bb28357bd00277f7fbc5964083d7fe">intersection_pl</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;{</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#ac64eb8ed00f9661fb937bc2aa9ca61ca">_clipper_pl</a>(ClipperLib::ctIntersection, subject, clip, safety_offset_);</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;}</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a></div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a52aa75f5d99430492bd6f06a4ea2d0ca">  171</a></span>&#160;<a class="code" href="namespace_slic3r.html#ad3bb28357bd00277f7fbc5964083d7fe">intersection_pl</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;{</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#ac64eb8ed00f9661fb937bc2aa9ca61ca">_clipper_pl</a>(ClipperLib::ctIntersection, subject, clip, safety_offset_);</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;}</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a></div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a9d7e9849a6d6695b1308f7f0e692bdbb">  177</a></span>&#160;<a class="code" href="namespace_slic3r.html#a9d7e9849a6d6695b1308f7f0e692bdbb">intersection_ln</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;clip, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;{</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#ac2fec21ddc392aaeefad2e50bf6881f9">_clipper_ln</a>(ClipperLib::ctIntersection, subject, clip, safety_offset_);</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;}</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">// union</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#ac884b2557a0f171baa823aebde16acda">  184</a></span>&#160;<a class="code" href="namespace_slic3r.html#ac884b2557a0f171baa823aebde16acda">union_</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;{</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">_clipper</a>(ClipperLib::ctUnion, subject, <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a>(), safety_offset_);</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;}</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a4ace2b1c0fcbc5d840338ec875f6cf95">  190</a></span>&#160;<a class="code" href="namespace_slic3r.html#ac884b2557a0f171baa823aebde16acda">union_</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject2, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;{</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">_clipper</a>(ClipperLib::ctUnion, subject, subject2, safety_offset_);</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;}</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#ab97c434222357bd18085bc30cfddc609">  196</a></span>&#160;<a class="code" href="namespace_slic3r.html#ab97c434222357bd18085bc30cfddc609">union_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;{</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ctUnion, subject, <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a>(), safety_offset_);</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;}</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#a9846e43c06dcde20910df7e980a30e86">  202</a></span>&#160;<a class="code" href="namespace_slic3r.html#ab97c434222357bd18085bc30cfddc609">union_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> &amp;subject, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;{</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ctUnion, <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(subject), <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a>(), safety_offset_);</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;}</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="keyword">inline</span> <a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="namespace_slic3r.html#aa059683aceec9f102521a81da3516f5f">  208</a></span>&#160;<a class="code" href="namespace_slic3r.html#ab97c434222357bd18085bc30cfddc609">union_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#a974dd7a4e3e39746ab1e4197e1aa54b0">Slic3r::Surfaces</a> &amp;subject, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>)</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;{</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">_clipper_ex</a>(ClipperLib::ctUnion, <a class="code" href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">to_polygons</a>(subject), <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a>(), safety_offset_);</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;}</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;ClipperLib::PolyTree <a class="code" href="namespace_slic3r.html#afffb3325918b4b5d12ab4b1453367306">union_pt</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> <a class="code" href="namespace_slic3r.html#ad6d9a50e91f21cd31f318705aabd2ee5">union_pt_chained</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keywordtype">bool</span> safety_offset_ = <span class="keyword">false</span>);</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespace_slic3r.html#a1b596732d2dd9bdcfeb4222001cd177f">traverse_pt</a>(ClipperLib::PolyNodes &amp;nodes, <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a>* retval);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment">/* OTHER */</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> <a class="code" href="namespace_slic3r.html#ad931b776cbf9f7eddcb516cc63fa1b69">simplify_polygons</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keywordtype">bool</span> preserve_collinear = <span class="keyword">false</span>);</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<a class="code" href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a> <a class="code" href="namespace_slic3r.html#a5b1a00ad2cab5b74d88ee645b63de1d2">simplify_polygons_ex</a>(<span class="keyword">const</span> <a class="code" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a> &amp;subject, <span class="keywordtype">bool</span> preserve_collinear = <span class="keyword">false</span>);</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespace_slic3r.html#aa1222f6f07c43243ade2d626db4557ab">safety_offset</a>(ClipperLib::Paths* paths);</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;}</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespace_slic3r_html_a7e00ded552bfcfd0d49be04cb6aab7fa"><div class="ttname"><a href="namespace_slic3r.html#a7e00ded552bfcfd0d49be04cb6aab7fa">Slic3r::offset2_ex</a></div><div class="ttdeci">ExPolygons offset2_ex(const Polygons &amp;polygons, const float delta1, const float delta2, const double scale, const ClipperLib::JoinType joinType, const double miterLimit)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:256</div></div>
<div class="ttc" id="namespace_slic3r_html_a5b1a00ad2cab5b74d88ee645b63de1d2"><div class="ttname"><a href="namespace_slic3r.html#a5b1a00ad2cab5b74d88ee645b63de1d2">Slic3r::simplify_polygons_ex</a></div><div class="ttdeci">ExPolygons simplify_polygons_ex(const Polygons &amp;subject, bool preserve_collinear)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:533</div></div>
<div class="ttc" id="libslic3r_8h_html"><div class="ttname"><a href="libslic3r_8h.html">libslic3r.h</a></div></div>
<div class="ttc" id="namespace_slic3r_html_a67eca0cac89f3ebc87b25c68c3f691ee"><div class="ttname"><a href="namespace_slic3r.html#a67eca0cac89f3ebc87b25c68c3f691ee">Slic3r::scaleClipperPolygons</a></div><div class="ttdeci">void scaleClipperPolygons(ClipperLib::Paths &amp;polygons, const double scale)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:90</div></div>
<div class="ttc" id="namespace_slic3r_html_a7c2d78f5a1d39d1140ec43bdc09ca35e"><div class="ttname"><a href="namespace_slic3r.html#a7c2d78f5a1d39d1140ec43bdc09ca35e">Slic3r::_offset2</a></div><div class="ttdeci">ClipperLib::Paths _offset2(const Polygons &amp;polygons, const float delta1, const float delta2, const double scale, const ClipperLib::JoinType joinType, const double miterLimit)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:211</div></div>
<div class="ttc" id="namespace_slic3r_html_add47402365cb0ce998aa2e3740986978"><div class="ttname"><a href="namespace_slic3r.html#add47402365cb0ce998aa2e3740986978">Slic3r::offset</a></div><div class="ttdeci">Polygons offset(const Polygons &amp;polygons, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:153</div></div>
<div class="ttc" id="namespace_slic3r_html_a34652ea8643ecf84f5711a6bbcd9b8b5"><div class="ttname"><a href="namespace_slic3r.html#a34652ea8643ecf84f5711a6bbcd9b8b5">Slic3r::diff_pl</a></div><div class="ttdeci">Slic3r::Polylines diff_pl(const Slic3r::Polygons &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:122</div></div>
<div class="ttc" id="namespace_slic3r_html_ac070ff2d90c6488a48adf1814cdae06c"><div class="ttname"><a href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Slic3r::Polygons</a></div><div class="ttdeci">std::vector&lt; Polygon &gt; Polygons</div><div class="ttdef"><b>Definition:</b> Polygon.hpp:13</div></div>
<div class="ttc" id="namespace_slic3r_html_ad3bb28357bd00277f7fbc5964083d7fe"><div class="ttname"><a href="namespace_slic3r.html#ad3bb28357bd00277f7fbc5964083d7fe">Slic3r::intersection_pl</a></div><div class="ttdeci">Slic3r::Polylines intersection_pl(const Slic3r::Polygons &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:165</div></div>
<div class="ttc" id="namespace_slic3r_html_a70e05e945d0402660e31712b4b97330f"><div class="ttname"><a href="namespace_slic3r.html#a70e05e945d0402660e31712b4b97330f">Slic3r::_clipper_do</a></div><div class="ttdeci">T _clipper_do(const ClipperLib::ClipType clipType, const Polygons &amp;subject, const Polygons &amp;clip, const ClipperLib::PolyFillType fillType, const bool safety_offset_)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:268</div></div>
<div class="ttc" id="namespace_slic3r_html_a23a6e38464cb9efac317c022358d00a8"><div class="ttname"><a href="namespace_slic3r.html#a23a6e38464cb9efac317c022358d00a8">Slic3r::diff</a></div><div class="ttdeci">Slic3r::Polygons diff(const Slic3r::Polygons &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:98</div></div>
<div class="ttc" id="namespace_slic3r_html_ab97c434222357bd18085bc30cfddc609"><div class="ttname"><a href="namespace_slic3r.html#ab97c434222357bd18085bc30cfddc609">Slic3r::union_ex</a></div><div class="ttdeci">Slic3r::ExPolygons union_ex(const Slic3r::Polygons &amp;subject, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:196</div></div>
<div class="ttc" id="namespace_slic3r_html_a39a5624fc31cf811472d1c39878c099c"><div class="ttname"><a href="namespace_slic3r.html#a39a5624fc31cf811472d1c39878c099c">Slic3r::_clipper</a></div><div class="ttdeci">Polygons _clipper(ClipperLib::ClipType clipType, const Polygons &amp;subject, const Polygons &amp;clip, bool safety_offset_)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:362</div></div>
<div class="ttc" id="_polygon_8hpp_html"><div class="ttname"><a href="_polygon_8hpp.html">Polygon.hpp</a></div></div>
<div class="ttc" id="namespace_slic3r_html_af2891484ab2b1efcaa12848d31d0ae80"><div class="ttname"><a href="namespace_slic3r.html#af2891484ab2b1efcaa12848d31d0ae80">Slic3r::_offset</a></div><div class="ttdeci">ClipperLib::Paths _offset(const Polygons &amp;polygons, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:101</div></div>
<div class="ttc" id="namespace_slic3r_html_af3c4f1889e239a031dfcea2f8776849e"><div class="ttname"><a href="namespace_slic3r.html#af3c4f1889e239a031dfcea2f8776849e">Slic3r::_clipper_ex</a></div><div class="ttdeci">ExPolygons _clipper_ex(ClipperLib::ClipType clipType, const Polygons &amp;subject, const Polygons &amp;clip, bool safety_offset_)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:373</div></div>
<div class="ttc" id="namespace_slic3r_html_a0596cb4d1dd2155e970fd890b71733b9"><div class="ttname"><a href="namespace_slic3r.html#a0596cb4d1dd2155e970fd890b71733b9">Slic3r::intersection</a></div><div class="ttdeci">Slic3r::Polygons intersection(const Slic3r::Polygons &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:141</div></div>
<div class="ttc" id="namespace_slic3r_html_a974dd7a4e3e39746ab1e4197e1aa54b0"><div class="ttname"><a href="namespace_slic3r.html#a974dd7a4e3e39746ab1e4197e1aa54b0">Slic3r::Surfaces</a></div><div class="ttdeci">std::vector&lt; Surface &gt; Surfaces</div><div class="ttdef"><b>Definition:</b> Surface.hpp:34</div></div>
<div class="ttc" id="namespace_slic3r_html_a8741f112719a7273fa795935d97159eb"><div class="ttname"><a href="namespace_slic3r.html#a8741f112719a7273fa795935d97159eb">Slic3r::offset2</a></div><div class="ttdeci">Polygons offset2(const Polygons &amp;polygons, const float delta1, const float delta2, const double scale, const ClipperLib::JoinType joinType, const double miterLimit)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:245</div></div>
<div class="ttc" id="namespace_slic3r_html_ae32f3e2a9f448d6c8243ab4d3249db23"><div class="ttname"><a href="namespace_slic3r.html#ae32f3e2a9f448d6c8243ab4d3249db23">Slic3r::ClipperPath_to_Slic3rMultiPoint</a></div><div class="ttdeci">T ClipperPath_to_Slic3rMultiPoint(const ClipperLib::Path &amp;input)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:35</div></div>
<div class="ttc" id="namespace_slic3r_html_a7db7bc90035cee27b8f882754fc943b9"><div class="ttname"><a href="namespace_slic3r.html#a7db7bc90035cee27b8f882754fc943b9">Slic3r::offset_ex</a></div><div class="ttdeci">ExPolygons offset_ex(const Polygons &amp;polygons, const float delta, double scale, ClipperLib::JoinType joinType, double miterLimit)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:193</div></div>
<div class="ttc" id="namespace_slic3r_html_afa4e6aac1c947d70a7350e9323ebb60e"><div class="ttname"><a href="namespace_slic3r.html#afa4e6aac1c947d70a7350e9323ebb60e">Slic3r::diff_ln</a></div><div class="ttdeci">Slic3r::Lines diff_ln(const Slic3r::Lines &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:134</div></div>
<div class="ttc" id="namespace_slic3r_html_a9d7e9849a6d6695b1308f7f0e692bdbb"><div class="ttname"><a href="namespace_slic3r.html#a9d7e9849a6d6695b1308f7f0e692bdbb">Slic3r::intersection_ln</a></div><div class="ttdeci">Slic3r::Lines intersection_ln(const Slic3r::Lines &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:177</div></div>
<div class="ttc" id="namespace_slic3r_html_ad6d9a50e91f21cd31f318705aabd2ee5"><div class="ttname"><a href="namespace_slic3r.html#ad6d9a50e91f21cd31f318705aabd2ee5">Slic3r::union_pt_chained</a></div><div class="ttdeci">Polygons union_pt_chained(const Polygons &amp;subject, bool safety_offset_)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:473</div></div>
<div class="ttc" id="namespace_slic3r_html_a4f1dbbb61f891800f4b4e0772521c5c9"><div class="ttname"><a href="namespace_slic3r.html#a4f1dbbb61f891800f4b4e0772521c5c9">Slic3r::Slic3rMultiPoints_to_ClipperPaths</a></div><div class="ttdeci">ClipperLib::Paths Slic3rMultiPoints_to_ClipperPaths(const T &amp;input)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:81</div></div>
<div class="ttc" id="namespace_slic3r_html_ac991bb8d1a85060f942c9ed22275066c"><div class="ttname"><a href="namespace_slic3r.html#ac991bb8d1a85060f942c9ed22275066c">Slic3r::PolyTreeToExPolygons</a></div><div class="ttdeci">ExPolygons PolyTreeToExPolygons(ClipperLib::PolyTree &amp;polytree)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:24</div></div>
<div class="ttc" id="namespace_slic3r_html_ae150f6292c2ee872218641d3f951d55e"><div class="ttname"><a href="namespace_slic3r.html#ae150f6292c2ee872218641d3f951d55e">Slic3r::intersection_ex</a></div><div class="ttdeci">Slic3r::ExPolygons intersection_ex(const Slic3r::Polygons &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:147</div></div>
<div class="ttc" id="namespace_slic3r_html_aa1222f6f07c43243ade2d626db4557ab"><div class="ttname"><a href="namespace_slic3r.html#aa1222f6f07c43243ade2d626db4557ab">Slic3r::safety_offset</a></div><div class="ttdeci">void safety_offset(ClipperLib::Paths *paths)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:554</div></div>
<div class="ttc" id="namespace_slic3r_html_ac884b2557a0f171baa823aebde16acda"><div class="ttname"><a href="namespace_slic3r.html#ac884b2557a0f171baa823aebde16acda">Slic3r::union_</a></div><div class="ttdeci">Slic3r::Polygons union_(const Slic3r::Polygons &amp;subject, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:184</div></div>
<div class="ttc" id="namespace_slic3r_html_a0913e2e6b7d28032c33cfee03f145fba"><div class="ttname"><a href="namespace_slic3r.html#a0913e2e6b7d28032c33cfee03f145fba">Slic3r::Lines</a></div><div class="ttdeci">std::vector&lt; Line &gt; Lines</div><div class="ttdef"><b>Definition:</b> Line.hpp:12</div></div>
<div class="ttc" id="namespace_slic3r_html_ac2fec21ddc392aaeefad2e50bf6881f9"><div class="ttname"><a href="namespace_slic3r.html#ac2fec21ddc392aaeefad2e50bf6881f9">Slic3r::_clipper_ln</a></div><div class="ttdeci">Lines _clipper_ln(ClipperLib::ClipType clipType, const Lines &amp;subject, const Polygons &amp;clip, bool safety_offset_)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:447</div></div>
<div class="ttc" id="namespace_slic3r_html"><div class="ttname"><a href="namespace_slic3r.html">Slic3r</a></div><div class="ttdef"><b>Definition:</b> BoundingBox.cpp:4</div></div>
<div class="ttc" id="namespace_slic3r_html_a2555e0e40cc44ba13c924616eb03197b"><div class="ttname"><a href="namespace_slic3r.html#a2555e0e40cc44ba13c924616eb03197b">Slic3r::MAX_COORD</a></div><div class="ttdeci">constexpr auto MAX_COORD</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:23</div></div>
<div class="ttc" id="namespace_slic3r_html_aea388b90b5881f29d1d1f0f256c41c00"><div class="ttname"><a href="namespace_slic3r.html#aea388b90b5881f29d1d1f0f256c41c00">Slic3r::ClipperPaths_to_Slic3rMultiPoints</a></div><div class="ttdeci">T ClipperPaths_to_Slic3rMultiPoints(const ClipperLib::Paths &amp;input)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:46</div></div>
<div class="ttc" id="namespace_slic3r_html_afffb3325918b4b5d12ab4b1453367306"><div class="ttname"><a href="namespace_slic3r.html#afffb3325918b4b5d12ab4b1453367306">Slic3r::union_pt</a></div><div class="ttdeci">ClipperLib::PolyTree union_pt(const Polygons &amp;subject, bool safety_offset_)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:467</div></div>
<div class="ttc" id="namespace_slic3r_html_a94e248a5e6cc2dfcfca8778469da154d"><div class="ttname"><a href="namespace_slic3r.html#a94e248a5e6cc2dfcfca8778469da154d">Slic3r::diff_ex</a></div><div class="ttdeci">Slic3r::ExPolygons diff_ex(const Slic3r::Polygons &amp;subject, const Slic3r::Polygons &amp;clip, bool safety_offset_=false)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:104</div></div>
<div class="ttc" id="namespace_slic3r_html_a498065f79ccb865fc410d4afeacffc9c"><div class="ttname"><a href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Slic3r::Polylines</a></div><div class="ttdeci">std::vector&lt; Polyline &gt; Polylines</div><div class="ttdef"><b>Definition:</b> Polyline.hpp:14</div></div>
<div class="ttc" id="namespace_slic3r_html_ad931b776cbf9f7eddcb516cc63fa1b69"><div class="ttname"><a href="namespace_slic3r.html#ad931b776cbf9f7eddcb516cc63fa1b69">Slic3r::simplify_polygons</a></div><div class="ttdeci">Polygons simplify_polygons(const Polygons &amp;subject, bool preserve_collinear)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:512</div></div>
<div class="ttc" id="namespace_slic3r_html_a32bb98b7e6f413723667252eb1d2abda"><div class="ttname"><a href="namespace_slic3r.html#a32bb98b7e6f413723667252eb1d2abda">Slic3r::AddOuterPolyNodeToExPolygons</a></div><div class="ttdeci">void AddOuterPolyNodeToExPolygons(ClipperLib::PolyNode &amp;polynode, ExPolygons *expolygons)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:8</div></div>
<div class="ttc" id="_surface_8hpp_html"><div class="ttname"><a href="_surface_8hpp.html">Surface.hpp</a></div></div>
<div class="ttc" id="namespace_slic3r_html_afb48331acdbb422c06ea6e973a744363"><div class="ttname"><a href="namespace_slic3r.html#afb48331acdbb422c06ea6e973a744363">Slic3r::CLIPPER_OFFSET_SCALE</a></div><div class="ttdeci">constexpr float CLIPPER_OFFSET_SCALE</div><div class="ttdef"><b>Definition:</b> ClipperUtils.hpp:22</div></div>
<div class="ttc" id="namespace_slic3r_html_a9306b728b4672f5e56abe05ba7437fe1"><div class="ttname"><a href="namespace_slic3r.html#a9306b728b4672f5e56abe05ba7437fe1">Slic3r::ExPolygons</a></div><div class="ttdeci">std::vector&lt; ExPolygon &gt; ExPolygons</div><div class="ttdef"><b>Definition:</b> ExPolygon.hpp:13</div></div>
<div class="ttc" id="namespace_slic3r_html_ac64eb8ed00f9661fb937bc2aa9ca61ca"><div class="ttname"><a href="namespace_slic3r.html#ac64eb8ed00f9661fb937bc2aa9ca61ca">Slic3r::_clipper_pl</a></div><div class="ttdeci">Polylines _clipper_pl(ClipperLib::ClipType clipType, const Polylines &amp;subject, const Polygons &amp;clip, bool safety_offset_)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:384</div></div>
<div class="ttc" id="class_slic3r_1_1_multi_point_html"><div class="ttname"><a href="class_slic3r_1_1_multi_point.html">Slic3r::MultiPoint</a></div><div class="ttdef"><b>Definition:</b> MultiPoint.hpp:14</div></div>
<div class="ttc" id="namespace_slic3r_html_ab23366eec4dd866dacebf9c87b12b805"><div class="ttname"><a href="namespace_slic3r.html#ab23366eec4dd866dacebf9c87b12b805">Slic3r::Slic3rMultiPoint_to_ClipperPath</a></div><div class="ttdeci">ClipperLib::Path Slic3rMultiPoint_to_ClipperPath(const MultiPoint &amp;input)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:71</div></div>
<div class="ttc" id="namespace_slic3r_html_a3fc83fb12ccc400510159a3438d02487"><div class="ttname"><a href="namespace_slic3r.html#a3fc83fb12ccc400510159a3438d02487">Slic3r::to_polygons</a></div><div class="ttdeci">Polygons to_polygons(const ExPolygons &amp;expolygons)</div><div class="ttdef"><b>Definition:</b> ExPolygon.hpp:56</div></div>
<div class="ttc" id="namespace_slic3r_html_a1b596732d2dd9bdcfeb4222001cd177f"><div class="ttname"><a href="namespace_slic3r.html#a1b596732d2dd9bdcfeb4222001cd177f">Slic3r::traverse_pt</a></div><div class="ttdeci">void traverse_pt(ClipperLib::PolyNodes &amp;nodes, Polygons *retval)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:483</div></div>
<div class="ttc" id="namespace_slic3r_html_a348d9e9e7e5d2fb316071499071e353d"><div class="ttname"><a href="namespace_slic3r.html#a348d9e9e7e5d2fb316071499071e353d">Slic3r::ClipperPaths_to_Slic3rExPolygons</a></div><div class="ttdeci">ExPolygons ClipperPaths_to_Slic3rExPolygons(const ClipperLib::Paths &amp;input)</div><div class="ttdef"><b>Definition:</b> ClipperUtils.cpp:55</div></div>
<div class="ttc" id="class_slic3r_1_1_surface_html"><div class="ttname"><a href="class_slic3r_1_1_surface.html">Slic3r::Surface</a></div><div class="ttdef"><b>Definition:</b> Surface.hpp:11</div></div>
<div class="ttc" id="_ex_polygon_8hpp_html"><div class="ttname"><a href="_ex_polygon_8hpp.html">ExPolygon.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
